package com.guigu.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.guigu.ProcureDetailsService;
import com.guigu.mapper.ProcureDetailsMapper;
import com.guigu.pojo.ProcureDetails;
import com.guigu.vo.ProcureDetailsList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProcureDetailsServiceImpl extends ServiceImpl<ProcureDetailsMapper, ProcureDetails> implements ProcureDetailsService {
    @Autowired
    private ProcureDetailsMapper procure_detailsMapper;
    @Override
    public List<ProcureDetailsList> selectParentId(int ParentId) {
        return procure_detailsMapper.selectParentId(ParentId);
    }
    @Override
    public List<com.guigu.pojo.ProcureDetails> selectProcureParentId(Integer parentId) {
        return procure_detailsMapper.selectProcureParentId(parentId);
    }
}

